export function useTable() {
    const gridOptions = reactive<any>({
        border: true,
        columns: [
            { field: 'productName', title: '产品名称' },
            { field: 'category', title: '产品类目' },
            { field: 'brand', title: '品牌' },
            { field: 'model', title: '型号' },
            { field: 'unit', title: '单位' },
            { field: 'quantity', title: '数量' },
            { field: 'quantityShipped', title: '本次发货数量' },
            { slots: { default: 'quantityAccepted' }, title: '本次申请验收数量', width: 150 },
        ],
        height: 350,
        keepSource: true,
    })

    return { gridOptions }
}
